﻿using System.ComponentModel.DataAnnotations;

namespace DHJ.Cost.Tasks
{
    /// <summary>
    /// Interface to get a batch identifier.
    /// </summary>
    public interface IBatchIdentifier
    {
        /// <summary>
        /// Id of the batch. Usually a barcode.
        /// </summary>
        [Required]
        string BatchId { get; }

        /// <summary>
        /// Current quantity.
        /// </summary>
        int Quantity { get; }
    }
}